package com.zzl.web;

import org.springframework.web.bind.annotation.*;

/**
 * @author: zhangzeli
 * @date 15:19 2018/5/21
 * <P></P>
 */
@RestController
public class HelloController {

    @RequestMapping(value = "/hello", method = RequestMethod.GET)
    @ResponseBody
    public String hello(@RequestParam String name) {
        return "Hello " + name;
    }

}
